<!DOCTYPE html>
<html>
<head>
	<title>webview</title>
</head>
<body>
	<div>
		<span>请输入值</span>
		<input id="input_text" type="text" name="" placeholder="请输入">
	</div>
	<div id="btn">
		<span>点击我</span>
	</div>
	<script type="text/javascript">
		var btn = document.getElementById("btn");
		var inputText = document.getElementById("input_text");
		btn.addEventListener("click", function() {

			var str = inputText.value;
			if (window.piccLauncher) {
				window.piccLauncher.setValue(str);
			} else {
				alert("piccLauncher 不存在");
			}
		}, false);

		var remote = function(str) {
			inputText.value = str;
		}
	</script>
</body>
</html>